10/01/2002
5:45 PM

 

PreviousNext
 
   
Frankentosh: Building Robots using Mac OS X
 
   
  • Robocode -- Some strategic discussion
    • Even with the Advanced robot, most of your actions are going to start out pretty inexact
      • If you set onScannedRobot to just fire when a robot's scanned, what if the robot moves? You're probably not going to hit it.
      • And for that matter, what if the robot you're firing at isn't the one closest to you? it's just the one that's first scanned?
    • In order to win, you're going to have to do more than just fire:
      • You'll need to keep track of what's happening as closely as possible, and save that information
      • You'll need to organize the data
      • And you'll need to analyze the data to make your actions more accurate & specific to each enemy
 
   
Ted Stevko, Stevko Studios http://www.plasticnoodle.com